package com.tiankong.product.service.impl;

import com.tiankong.product.entity.SkuImages;
import com.tiankong.product.mapper.SkuImagesMapper;
import com.tiankong.product.service.SkuImagesService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.List;

/**
 * <p>
 * sku图片 服务实现类
 * </p>
 *
 * @author scl
 * @since 2021-03-22
 */
@Service
public class SkuImagesServiceImpl extends ServiceImpl<SkuImagesMapper, SkuImages> implements SkuImagesService {

    @Override
    public List<SkuImages> findList(Collection<Long> skuIds) {
        return query().in("sku_id",skuIds).list();
    }
}
